http://blog.csdn.net/pipisorry/article/details/395084171. Replace VI with VIMVim is more powerful than VI, Vim is a superset of VI, and can solve many of the problems of habit, so it is necessary to use Vim to replace VI. Simply speaking, you can directly use the "Alias Vi=vim" command, but this can only be useful in this launch, the next time after the start, t
:
Exit command is, press ESC to jump to command mode, and then enter: Q (not saved) or: Wq (save) exit. more exit Commands:
: w save file but not exit VI: W file will be modified to save in file, do not exit VI: w! Mandatory save, do not launch VI: Wq save file and Exit VI: wq! Force file to save and Exit VI: Q Do not save files, exit VI: q! Do not save file, Force exit VI: e! Discard all modifications and edit command history from the last save file
Commands with: and/start with history, you ca
Vim note (6) -- a more comprehensive introduction of vim (for example, vim -- vim)
Vim configuration file~ /. Vimrc user's default configuration file ~ /. Vim/plugin/user's default script file storage directory ~ /.
17. Vim Introduction, Vim color display and move cursor, VIM general mode move cursor, VIM general mode copy, cut and pasteI. Introduction of VIMVim:vi version of the upgrade, the difference is: VI when editing text will not display color, and vim will.Its configuration file
5.1 Vim Introduction 5.2 Vim color display and move cursor
5.3 Vim General mode move cursor
5.4 Vim General mode copy, cut and paste
Vim is an upgraded version of VIVim with color displayInstalling Vim:yum install-y vim
I. Introduction of VIMVim is a powerful text editor, the upgrade version of VI, with color display, the default has three modes: General mode, command mode, edit modeInstall Vim[Email protected] ~]# VIM/ETC/PASSWD-bash:vim: Command not found[Email protected] ~]#[email protected] ~]# Yum install-y vim-enhanced...second, color display, Move Cursor[[email protected
Transferred from: a q's home
1. Basic concepts of osworkflowIn the commercial and open-source world, osworkflow is different from these existing workflow systems. The biggest difference is that osworkflow has excellent flexibility. It may be difficult to get started with osworkflow (some people say it is not suitable for beginners of workflow). For example, osworkflow does not require graphical tools to develop workflows, but it is recommended to manu
VIM settings-discover the beauty of VIM and set vim
When I raised the code in Linux today, I suddenly found that I didn't even highlight the code. I searched for it on the Internet and found a great microblog.
This record: http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.html
Very good and powerful. After decompression, vimrc is in the root directory. Rep
call s:StartWindowsManager() ‘q‘ endendfunctionNow the effectSolve the problem of garbled characters in Windows vim displayBecause the default is GB encoding under Windows, and Vim is utf-8 by default, opening will be garbled. Modified the configuration file, so that vim support GB encoding just fine.Modify the VIMRC configuration file:
[Original] Vim's usage skills: only when used can we understand "the best IDE is Vim" and vim's usage skills.
Half a year ago, I was still wandering in IDE such as Eclipse and ZendStudio. However, for the use of Vim over the past six months, I have to say that Vim is more efficient. It takes time to configure your own Vim
[Vim] vim learning notes-open, switch, and close multiple files. vim learning notesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and disp
[VIM] vim usage tips and vim usage tipsThis series is the Reading Notes and summary of Practical Vim, which mainly includes the following aspects:1. How VIM solves the problem -- Constructing repeated modifications
1.1 Basic operation unit-character, word, row, paragraph1.2.
Vim learning notes (1) -- vim operations and vim learning notes operations
Only record some of the most commonly used vim operations and update them at any timeText operations
D cut. Double-click to cut a row.
Copy y. Double-click to copy a row.
P Paste
X: Delete characters under the current cursor
R replaces th
Introduction to VimVim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI.First install VimYum Install-y vim-enhanced·Let's compare the difference between the VI and VIM openLet's open the/etc/passwd/with VI and look at it.·Take a look at the vim/etc/passwd/again.·We can see VI open/e
First, edit mode, command modeIn general mode, enter: or/To enter command mode. In this mode, you can walk a character or string, save, replace, exit, display line number, etc./word: Look for a string after the cursor word, press N to go back to search? Word: Look for a string before the cursor word, press N to go back to search: n1,n2s/word1/word2/g: Find word1 between N1 and N2 rows and replace with Word2, no G replaces only the first word1 of each row: 1, $s/word1/word2/g: replace all word1 i
Tags: vim edit mode VIM Command mode18, vim into the editing mode, Vim command mode, VIM practiceFirst, vim into the editing modeedit Mode : You cannot modify a character in general mode, and you can only enter edit mode if you wa
Confirm that the VIMRC is set in the.set helplang=cn
Enter the command to :help enter Chinese help
Basic conceptsLet's take a look at some of the basic concepts of vim: Buffer, window, and Tab-page.
buffer: Files opened with VIM are loaded into memory, and in memory we use Buffer to describe the edited file. A buffer corresponds to a co
Make vim a python development environment. The article uses pathogen + git to manage the Vim plug-in. Students who are not quite clear about this way can refer to the introduction of "3". Pathogen changed the original vim can only throw the plugin all to the. Vim directory operation mode, so that each plug-in can be a
[Vim] vim use notes -- split screen operation, vim --
We often need to open multiple files, operate multiple files in different windows, and split the screen is very useful.
1 command mode: new, create a file and split the screen, shortcut key, Ctrl + W, then immediately press the n key: spilt horizontal split screen, the current screen is divided into two, h
0 Introduction
Understanding the vim startup process is very important to enhance the confidence in using vim. All the information in this article comes from the reference manual provided by vim and the actual operation practices of the author. The Starting VIM section of Vim
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.